package com.clss.commandhelper.tools.janus.entity;


import com.clss.commandhelper.tools.janus.util.ChatMessage;

import java.io.Serializable;
import java.util.List;


public class MediaSessionBean implements Serializable{
	private String id;
	private String server;
	private Long room;
//	private String name;
	private String caseId;
	private String description;
	private Boolean is_private;
	private String secret;
	private String pin;
	private Integer bitrate;
	private Integer fir_freq;
	private Integer publishers;
	private Boolean record;
	private String rec_dir;
	private Boolean permanent;
	private String province;
	private String city;
	private String district;
	private String latitude;
	private String longitude;
	private String address;
	private String creator;
	private List<VideoRoomParticipant> participants;
	//join parameters
	private Boolean audio;
	private Boolean video;
	private String filename;
	private String display;
	private List<ChatMessage> text;
	private String token;
	private String turnAddress;
	private String turnUser;
	private String turnPassword;
	private int publicLevel;

	public int getPublicLevel() {
		return publicLevel;
	}

	public String getTurnAddress() {
		return turnAddress;
	}

	public String getTurnUser() {
		return turnUser;
	}

	public String getTurnPassword() {
		return turnPassword;
	}

	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getServer() {
		return server;
	}
	public void setServer(String server) {
		this.server = server;
	}
	public Long getRoom() {
		return room;
	}
	public void setRoom(Long room) {
		this.room = room;
	}

	public List<ChatMessage> getText() {
		return text;
	}

	public void setText(List<ChatMessage> text) {
		this.text = text;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	//	public String getName() {
//		return name;
//	}
//	public void setName(String name) {
//		this.name = name;
//	}
	public String getCaseId() {
		return caseId;
	}
	public void setCaseId(String caseId) {
		this.caseId = caseId;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Boolean getIs_private() {
		return is_private;
	}
	public void setIs_private(Boolean is_private) {
		this.is_private = is_private;
	}
	public String getSecret() {
		return secret;
	}
	public void setSecret(String secret) {
		this.secret = secret;
	}
	public String getPin() {
		return pin;
	}
	public void setPin(String pin) {
		this.pin = pin;
	}
	public Integer getBitrate() {
		return bitrate;
	}
	public void setBitrate(Integer bitrate) {
		this.bitrate = bitrate;
	}
	public Integer getFir_freq() {
		return fir_freq;
	}
	public void setFir_freq(Integer fir_freq) {
		this.fir_freq = fir_freq;
	}
	public Integer getPublishers() {
		return publishers;
	}
	public void setPublishers(Integer publishers) {
		this.publishers = publishers;
	}
	public Boolean getRecord() {
		return record;
	}
	public void setRecord(Boolean record) {
		this.record = record;
	}
	public String getRec_dir() {
		return rec_dir;
	}
	public void setRec_dir(String rec_dir) {
		this.rec_dir = rec_dir;
	}
	public Boolean getPermanent() {
		return permanent;
	}
	public void setPermanent(Boolean permanent) {
		this.permanent = permanent;
	}
	
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getDistrict() {
		return district;
	}
	public void setDistrict(String district) {
		this.district = district;
	}
	public String getLatitude() {
		return latitude;
	}
	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}
	public String getLongitude() {
		return longitude;
	}
	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getCreator() {
		return creator;
	}
	public void setCreator(String creator) {
		this.creator = creator;
	}
	
	public List<VideoRoomParticipant> getParticipants() {
		return participants;
	}
	public void setParticipants(List<VideoRoomParticipant> participants) {
		this.participants = participants;
	}
	public Boolean getAudio() {
		return audio;
	}
	public void setAudio(Boolean audio) {
		this.audio = audio;
	}
	public Boolean getVideo() {
		return video;
	}
	public void setVideo(Boolean video) {
		this.video = video;
	}
	public String getFilename() {
		return filename;
	}
	public void setFilename(String filename) {
		this.filename = filename;
	}
	public String getDisplay() {
		return display;
	}
	public void setDisplay(String display) {
		this.display = display;
	}

	@Override
	public String toString() {
		return "MediaSessionBean{" +
				"id='" + id + '\n' +
				", server='" + server + '\n' +
				", room=" + room +
				", caseId='" + caseId + '\n' +
				", description='" + description + '\n' +
				", is_private=" + is_private +
				", secret='" + secret + '\n' +
				", pin='" + pin + '\n' +
				", bitrate=" + bitrate +
				", fir_freq=" + fir_freq +
				", publishers=" + publishers +
				", record=" + record +
				", rec_dir='" + rec_dir + '\n' +
				", permanent=" + permanent +
				", province='" + province + '\n' +
				", city='" + city + '\n' +
				", district='" + district + '\n' +
				", latitude='" + latitude + '\n' +
				", longitude='" + longitude + '\n' +
				", address='" + address + '\n' +
				", creator='" + creator + '\n' +
				", participants=" + participants +
				", audio=" + audio +
				", video=" + video +
				", filename='" + filename + '\n' +
				", display='" + display + '\n' +
				", text=" + text +
				", token='" + token + '\n' +
				'}';
	}
}
